projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7dbdba
)
Silence a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 27 Aug 2011 05:25:39 +0000
(
01:25
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 27 Aug 2011 05:25:39 +0000
(
01:25
-0400)
gtk/gtkpango.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpango.c
b/gtk/gtkpango.c
index 6af3a8337c8d703e4e46ba56181ebbb2e65fd8fe..2181b7b40b7444b1c7dd46bb6eaa012c1a01bf87 100644
(file)
--- a/
gtk/gtkpango.c
+++ b/
gtk/gtkpango.c
@@
-693,6
+693,7
@@
_gtk_pango_move_lines (PangoLayout *layout,
text = pango_layout_get_text (layout);
index = g_utf8_offset_to_pointer (text, offset) - text;
lines = pango_layout_get_lines (layout);
+ line = NULL;
num = 0;
for (l = lines; l; l = l->next)